	function showHandData($handID){
			//$handID = $(this).parents('.hand').attr('id');
			$('.hand').removeClass('selected');
			$('#'+$handID).addClass('selected');
			$preFlop = $('#'+$handID+' .PreFlop').html();
			$Flop = $('#'+$handID+' .Flop').html();
			$Turn = $('#'+$handID+' .Turn').html();
			$River = $('#'+$handID+' .River').html();
			$Showdown = $('#'+$handID+' .pot').html();
			$playerProfiles = $('#'+$handID+' .players').html();
			
			$('#informationPane').html('<ul><li><a href="#PreFlop"><span>Pre Flop</span></a></li><li><a href="#Flop"><span>Flop</span></a></li><li><a href="#Turn"><span>Turn</span></a></li><li><a href="#River"><span>River</span></a></li><li><a href="#Showdown"><span>Result</span></a></li><li><a href="#playerProfiles"><span>Players</span></a></li></ul>');
			$('#informationPane').append('<div id="PreFlop">'+$preFlop+'</div>');
			$('#informationPane').append('<div id="Flop"><p class="streetName">Flop</p>'+$Flop+'</div>');
			$('#informationPane').append('<div id="Turn"><p class="streetName">Turn</p>'+$Turn+'</div>');
			$('#informationPane').append('<div id="River"><p class="streetName">River</p>'+$River+'</div>');
			$('#informationPane').append('<div id="Showdown"><p class="streetName">Showdown</p>'+$Showdown+'</div>');
			$('#playerProfiles').append('<div id="Showdown"><p class="streetName">Player Profiles</p>'+$playerProfiles+'</div>');

			if($handID=='680417716'){
			$('#informationPane').append('<div id="comments"><h2><strong>Comments On This Hand</strong></h2<div id="handComment1234" class="comment"> <p>If you had hit a straight with runner runner against me I would have gone beserk!</p><div class="comment-author">RonHeywood 02 March 2009 22:18 <a href="#">report</a></div></div></div>');
			}
			
			$('#informationPane').tabs();
			if($Flop==null){$('#informationPane').tabs('disable',1)};
			//console.debug($Turn==null);
			if($Turn==null){$('#informationPane').tabs('disable',2)};
			if($River==null){$('#informationPane').tabs('disable',3)};
			//console.debug(e);
			//$('#informationPane').css('top',(e.pageY-100)+'px');
	}
	
	$('document').ready(function(){
		$('.handInfo a').bind('click',function(e){
			$handID = $(this).parents('.hand').attr('id');
			showHandData($handID);
			return false;
		})
		
		$('.handHistory').before('<div id="handNav"></div><p style="clear: both;">&nbsp;</p>') 
		.cycle({ 
			fx:    'scrollLeft',
			speed:  'fast', 
			timeout: 0, 
			pager:  '#handNav',
			after:   function(){
				showHandData($(this).attr('id'))
				//console.debug($(this).attr('id'));
			}
		});
	});